


// 旧版API
const data = {
	file: {file: 'your-file-path', content_type: 'multipart/form-data'}
};


//新版API
needle('post', 'post url', data, {multipart: true})
